if ($msg =~ /^staff (.*)/) {
  my $rank = &staff($1);
  if (!$rank) {
    $self->sendMessage("$1 is just a normal user.");
  }
  else {
    $self->sendMessage("$1 is a $rank.");
  }
}